<?php
/**
 * 粉丝换手记录验证器
 */

namespace app\common\validate;

class UserTransValidate extends Validate
{
    protected $rule = [
            'uid|转换人id' => 'require',
    'uuid|被转换id' => 'require',
    'task_id|任务id' => 'require',

    ];

    protected $message = [
            'uid.require' => '转换人id不能为空',
    'uuid.require' => '被转换id不能为空',
    'task_id.require' => '任务id不能为空',

    ];

    protected $scene = [
        'add'  => ['uid','uuid','task_id',],
'edit' => ['uid','uuid','task_id',],

    ];

    

}
